From 253a9fcaf424c323239d0891634688e89f019b94 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 12 May 2007 12:44:20 +0100 Subject: [PATCH] xend: configuration option 'localtime = 1' is not honored for PV domains. This patch fixes an oversight when platform_* config options were collected in a dictionary. Signed-off-by: Jim Fehlig --- tools/python/xen/xend/XendDomainInfo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 5c16baf6e7..2d3174d8d7 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1472,8 +1472,7 @@ class XendDomainInfo: try: self.image = image.create(self, self.info) - localtime = self.info.get('platform_localtime', False) - if localtime: + if self.info['platform'].get('localtime', 0): xc.domain_set_time_offset(self.domid) xc.domain_setcpuweight(self.domid, self.info['cpu_weight']) -- 2.30.2